﻿using System;

namespace MuZa.MuZa
{
    internal class ResourceSource
    {
        private int AvailableQuantity;
        private double Cost;
        private int DoA;
        private String Location;
        private String ParticipantName;
        private String ResoureName;
        private int TotalDurationHours;

        public ResourceSource()
        {
            ResoureName = "";
            ParticipantName = "";
            Cost = 0;
            AvailableQuantity = 0;
            TotalDurationHours = 0;
            Location = "";
            DoA = 0;
        }

        /**
         *
         * @param ParticipantName
         * @param ResoureName
         */

        public ResourceSource(String ParticipantName, String ResoureName)
        {
            this.ResoureName = ResoureName;
            this.ParticipantName = ParticipantName;
        }

        public ResourceSource(String ParticipantName, String ResoureName, double Cost, int AvailableQuantity,
                              int TotalDurationHours, String Location, int DoA)
        {
            this.ResoureName = ResoureName;
            this.ParticipantName = ParticipantName;
            this.Cost = Cost;
            this.AvailableQuantity = AvailableQuantity;
            this.TotalDurationHours = TotalDurationHours;
            this.Location = Location;
            this.DoA = DoA;
        }

        /**
         *
         * @return
         */

        public String getParticipantName()
        {
            return ParticipantName;
        }

        /**
         *
         * @param ParticipantName
         */

        public void setParticipantName(String ParticipantName)
        {
            this.ParticipantName = ParticipantName;
        }

        /**
         *
         * @return
         */

        public String getResoureName()
        {
            return ResoureName;
        }

        /**
         *
         * @param ResoureName
         */

        public void setResoureName(String ResoureName)
        {
            this.ResoureName = ResoureName;
        }

        /**
         *
         * @return
         */

        public int getAvailableQuantity()
        {
            return AvailableQuantity;
        }

        /**
         *
         * @param AvailableQuantity
         */

        public void setAvailableQuantity(int AvailableQuantity)
        {
            this.AvailableQuantity = AvailableQuantity;
        }

        /**
         *
         * @return
         */

        public double getCost()
        {
            return Cost;
        }

        /**
         *
         * @param Cost
         */

        public void setCost(double Cost)
        {
            this.Cost = Cost;
        }

        /**
         *
         * @return
         */

        public int getDoA()
        {
            return DoA;
        }

        /**
         *
         * @param DoA
         */

        public void setDoA(int DoA)
        {
            this.DoA = DoA;
        }

        /**
         *
         * @return
         */

        public String getLocation()
        {
            return Location;
        }

        /**
         *
         * @param Location
         */

        public void setLocation(String Location)
        {
            this.Location = Location;
        }

        /**
         *
         * @return
         */

        public int getTotalDurationHours()
        {
            return TotalDurationHours;
        }

        /**
         *
         * @param TotalDurationHours
         */

        public void setTotalDurationHours(int TotalDurationHours)
        {
            this.TotalDurationHours = TotalDurationHours;
        }

        /**
         *
         */
    }
}